<?php
add_action( 'init', 'Manager_TV' );
function Manager_TV() {
		register_taxonomy(
		'courseTV',
		'course',
		array(
			'label' => __( 'Manager TV' ),
			'rewrite' => array( 'slug' => 'course-category'),
			'hierarchical' => true
		)
	);
	
    register_post_type( 'Manager_tv',
		array(
			'labels' => array(
				'name' => __( 'TV' ),
				'singular_name' => __( 'Manager_tv' ),
				'add_new' => _x('Add New', 'TV'),
				'add_new_item' => __('Add TV'),
				'edit_item' => __('Edit TV'),
				'new_item' => __('New TV'),
				'view_item' => __('View TV'),
				'search_items' => __('Search TV')
			),
    		'public' => true,
    		'publicly_queryable' => true,
    		'has_archive' => true,
    		'hierarchical' => false,
    		'taxonomies' => array('courseTV'),
    		'supports' => array( 'title', 'editor', 'author',  'comments')
    		)
	);
}